<section>
        <section class="main padder">
                <div class="clearfix">
                        <h4><i class="fa fa-edit"></i>数据统计</h4>
                </div>
                <div class="text-center h5">时间：<?php echo outTime(TIME);?></div>
                <div class="row" style="overflow-x:auto;width:800px;"> 
                          
                        <div class="col-sm-12">
                                <section class="panel">       
                                        <header class="panel-heading">
        
                                        </header> 
                                        <div class="table-responsive"> 
                                                <table data-ride="datatables" class="table table-striped m-b-none"> 
                                                        <thead> 
                                                                <tr> 
                                                                        <th width="15%">当日参与人数（人）</th> 
                                                                        <th width="15%">近7日参与人数（人）</th> 
                                                                        <th width="20%">一个月参与人数（人）</th> 
                                                                        <th width="15%">总参与人数（人）</th> 
                                                                        <th width="20%">当日用户出题数（题）</th> 
                                                                        <th width="15%">总出题数（题）</th> 
                                                                </tr> 
                                                        </thead> 
                                                        <tbody> 
                                                                <tr> 
                                                                        <th  class="text-center" width="15%"><?php echo $peopleDay;?></th> 
                                                                        <th  class="text-center" width="15%"><?php echo $peopleWeek;?></th> 
                                                                        <th class="text-center" width="20%"><?php echo $peopleMonth;?></th> 
                                                                        <th  class="text-center" width="15%"><?php echo $peopleTotal;?></th> 
                                                                        <th class="text-center"  width="20%"><?php echo $titleDay;?></th> 
                                                                        <th class="text-center" width="15%"><?php echo $titleTotal;?></th> 
                                                                </tr> 
                                                        </tbody> 
                                                </table> 
                                        </div>
                                </section>
                        </div>
                      <div class="col-lg-12" style="width:1500px"> 
                                <section class="panel"> 
                                        <header class="panel-heading">
                                        </header> 
                                        <div class="table-responsive"> 
                                                <table class="table table-striped b-t text-small" > 
                                                        <thead> 
                                                                <tr> 
                                                                        <th width="110px">类别\排名</th> 
                                                                        <?php for($i=1;$i<=$num;$i++){?>
                                                                              <th class="text-center"><?php echo $i;?></th> 
                                                                        <?php }?>
                                                                </tr> 
                                                        </thead> 
                                                        <tbody> 
                                                                <tr> 
                                                                        <td>当日积分排名前<?php echo $num;?>（积分）</td> 
                                                                        <?php for($i=0;$i<$num;$i++){?>
                                                                        <th class="text-center"><?php echo isHave($integralRank[$i]['content'])?$integralRank[$i]['content'].'<br />【'.$integralRank[$i]['nickname'].'】':'暂无记录';?></th> 
                                                                        <?php }?>
                                                                </tr> 
                                                                <tr> 
                                                                        <td>当日连续答题前<?php echo $num;?>（次数）</td> 
                                                                         <?php for($i=0;$i<$num;$i++){?>
                                                                        <th class="text-center"><?php echo isHave($rewardRank[$i]['reward'])?$rewardRank[$i]['reward'].'<br />【'.getUser($rewardRank[$i]['uid']).'】':'暂无记录';?></th> 
                                                                        <?php }?>
                                                                </tr> 
                                                                <tr> 
                                                                        <td>当日错题排名前<?php echo $num;?>（题）</td> 
                                                                      <?php for($i=0;$i<$num;$i++){?>
                                                                        <th class="text-center"><?php echo isHave($wrongTitleRank[$i]['wrong'])?$wrongTitleRank[$i]['wrong'].'<br />【'.getUser($wrongTitleRank[$i]['uid']).'】':'暂无记录';?></th> 
                                                                        <?php }?>
                                                                </tr>
                                                                   <tr> 
                                                                        <td>当日出题用户前<?php echo $num;?>（题）</td> 
                                                                      <?php for($i=0;$i<$num;$i++){?>
                                                                        <th class="text-center"><?php echo isHave($topicRank[$i]['topic'])?$topicRank[$i]['topic'].'<br />【'.getUser($topicRank[$i]['user_id']).'】':'暂无记录';?></th> 
                                                                        <?php }?>
                                                                </tr>
                                                                   <tr> 
                                                                        <td>出题总用户前<?php echo $num;?>（题）</td> 
                                                                        <?php for($i=0;$i<$num;$i++){?>
                                                                        <th class="text-center"><?php echo isHave($topicTotal[$i]['topic'])?$topicTotal[$i]['topic'].'<br />【'.getUser($topicTotal[$i]['user_id']).'】':'暂无记录';?></th> 
                                                                        <?php }?>
                                                                </tr>
                                                        </tbody> 
                                                </table> 
                                        </div> 
                                </section> 
                        </div>
                </div>
        </section>
</section>